﻿using Layans.Data;
using Layans.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace LApi.Web.Controllers.LayansSocial
{
    public class UserMassageController : AppiController
    {
        private readonly IList<UserMassage> data = new List<UserMassage>();

        // GET api/usermassage
        public IEnumerable<UserMassage> Get()
        {
            return  data;
        }

        // GET api/usermassage/5
        public UserMassage Get(int id)
        {
            return data[id];
        }

        // POST api/usermassage
        public void Post([FromBody]UserMassage value)
        {
            data.Add(value);
        }

        // PUT api/usermassage/5
        public void Put(int id, [FromBody]string value)
        {
        }

        // DELETE api/usermassage/5
        public void Delete(int id)
        {
        }
    }
}
